package com.mic.gae.dto;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "Build")
public class BuildDTO {

	private String id;
	private boolean changesAvailable;
	private Long duration;
	private boolean kept;
	private Long number;
	private String projectName;
	private String result;
	private String state;
	private boolean testsAvailable;
	private Long timeStamp;
	private String type;
	private String url;
	private List<CauseDTO> causes;
	private List<String> culprits;
	private List<String> participants;
	private String consoleUrl;

	@XmlElement
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@XmlElement
	public boolean isChangesAvailable() {
		return changesAvailable;
	}

	public void setChangesAvailable(boolean changesAvailable) {
		this.changesAvailable = changesAvailable;
	}

	@XmlElement
	public Long getDuration() {
		return duration;
	}

	public void setDuration(Long duration) {
		this.duration = duration;
	}

	@XmlElement
	public boolean isKept() {
		return kept;
	}

	public void setKept(boolean kept) {
		this.kept = kept;
	}

	@XmlElement
	public Long getNumber() {
		return number;
	}

	public void setNumber(Long number) {
		this.number = number;
	}

	@XmlElement
	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	@XmlElement
	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	@XmlElement
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	@XmlElement
	public boolean isTestsAvailable() {
		return testsAvailable;
	}

	public void setTestsAvailable(boolean testsAvailable) {
		this.testsAvailable = testsAvailable;
	}

	@XmlElement
	public Long getTimeStamp() {
		return timeStamp;
	}

	public void setTimeStamp(Long timeStamp) {
		this.timeStamp = timeStamp;
	}

	@XmlElement
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@XmlElement
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	@XmlElement
	public List<CauseDTO> getCauses() {
		return causes;
	}

	public void setCauses(List<CauseDTO> causes) {
		this.causes = causes;
	}

	@XmlElement
	public List<String> getCulprits() {
		return culprits;
	}

	public void setCulprits(List<String> culprits) {
		this.culprits = culprits;
	}

	@XmlElement
	public List<String> getParticipants() {
		return participants;
	}

	public void setParticipants(List<String> participants) {
		this.participants = participants;
	}

	@XmlElement
	public String getConsoleUrl() {
		return consoleUrl;
	}

	public void setConsoleUrl(String consoleUrl) {
		this.consoleUrl = consoleUrl;
	}

}
